import request, {axios} from '@/utils/request'

// 查询
export function page(data) {
  return axios({
    url: '/certificate/page',
    method: 'post',
    data
  })
}


export function createCer(data) {
  return axios({
    url: '/certificate/createCer',
    method: 'post',
    data
  })
}

export function deleteCer(id) {
  return request({
    url: '/certificate/deleteCer/' + id,
    method: 'delete'
  })
}